package com.huan.server.provider;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.web.bind.annotation.RestController;

import com.huan.service.IHelloService;

/**
 * 
 * @author huan
 *
 */
@RefreshScope
@RestController
public class HelloServiceImpl implements IHelloService{
	
	@Value("${word}")
	private String word;

	@Override
	public String helloWorld() {
		return word;
	}

}
